//封装用户相关的接口
import instance from '@/utils/request.js'


//获取用户列表接口
// export const getStudents = (data) => {
    // return instance.get('/api/students', data)
    // return instance.get('/api/pageQuery', data)
// }
//添加用户接口
export const addStudents = (data) => {
    return instance.post('/api/add', data)
}
//删除用户接口
export const delStudents = (data) => {
    return instance.delete('/api/delete', data)
}
//修改用户接口
export const updateStudents = (data) => {
    return instance.put('/api/update', data)
}